package com.mooc.mymooc.dao;

import com.mooc.mymooc.pojo.Lesson;

import java.util.List;

public interface LessonDao {
    public List<Lesson> findLessonById(Integer id);

    public Integer addLesson(Lesson lesson);

    public Integer updateLesson(Lesson lesson);

    public Lesson findLessonByIdInBackGround(Integer id);
}
